package phenix.com.phenixdemo.ui;

import android.support.design.widget.Snackbar;
import android.support.v4.app.Fragment;
import android.view.View;
import android.widget.TextView;

import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EFragment;

import phenix.com.phenixdemo.R;

@EFragment(R.layout.fragment_fragment_a)
public class FragmentAA extends Fragment {


    @Click(R.id.tv_fragment_aa)
    public void clickTest(View v){
        Snackbar.make(v,((TextView)v).getText().toString(),Snackbar.LENGTH_LONG).setAction("Action",null).show();
    }

    public FragmentAA() {
        // Required empty public constructor
    }


//    @Override
//    public View onCreateView(LayoutInflater inflater, ViewGroup container,
//                             Bundle savedInstanceState) {
//        // Inflate the layout for this fragment
//        View view = inflater.inflate(R.layout.fragment_fragment_a, container, false);
//
//
//        return view;
//    }



}
